/**
 * @file MOCK数据
 *
 * @author liubin29(liubin29@baidu.com)
 * 2017年4月7日
 */

module.exports = function (param) {
    return {
        status: 0,
        statusInfo: 'success',
        data: [{
            columnName: '關於我們',
            id: 29,
            parentId: 0,
            columnType: 0,
            children: [{
                columnName: '品牌介紹',
                id: 33,
                parentId: 29,
                columnType: 0,
                children: null,
                childrenIds: null
            }, {
                columnName: '公司簡介',
                id: 34,
                parentId: 29,
                columnType: 0,
                children: null,
                childrenIds: null
            }],
            childrenIds: [33, 34]
        }, {
            columnName: '訓練課程',
            id: 30,
            parentId: 0,
            columnType: 0,
            children: [{
                columnName: '引力康復',
                id: 35,
                parentId: 30,
                columnType: 0,
                children: null,
                childrenIds: null
            }, {
                columnName: '引力團體',
                id: 43,
                parentId: 30,
                columnType: 0,
                children: null,
                childrenIds: null
            }, {
                columnName: '引力私教',
                id: 44,
                parentId: 30,
                columnType: 0,
                children: null,
                childrenIds: null
            }, {
                columnName: '引力普拉提',
                id: 45,
                parentId: 30,
                columnType: 0,
                children: null,
                childrenIds: null
            }],
            childrenIds: [35, 43, 44, 45]
        }, {
            columnName: '新聞活動',
            id: 31,
            parentId: 0,
            columnType: 0,
            children: [{
                columnName: '新聞資訊',
                id: 36,
                parentId: 31,
                columnType: 0,
                children: null,
                childrenIds: null
            }, {
                columnName: '活動信息',
                id: 37,
                parentId: 31,
                columnType: 0,
                children: null,
                childrenIds: null
            }],
            childrenIds: [36, 37]
        }, {
            columnName: '圖片與影片',
            id: 32,
            parentId: 0,
            columnType: 0,
            children: [{
                columnName: '圖片',
                id: 38,
                parentId: 32,
                columnType: 0,
                children: [{
                    columnName: '健身環境',
                    id: 46,
                    parentId: 38,
                    columnType: 1,
                    children: null,
                    childrenIds: null
                }, {
                    columnName: '課程活動',
                    id: 48,
                    parentId: 38,
                    columnType: 1,
                    children: null,
                    childrenIds: null
                }],
                childrenIds: [46, 48]
            }, {
                columnName: '影片',
                id: 39,
                parentId: 32,
                columnType: 1,
                children: [{
                    columnName: '教學視頻',
                    id: 49,
                    parentId: 39,
                    columnType: 1,
                    children: null,
                    childrenIds: null
                }],
                childrenIds: [49]
            }],
            childrenIds: [38, 39]
        }]
    };
};
